package com.program.houai.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.program.houai.entity.VipCardOrderEntity;
import com.program.houai.pay.PayResult;
import com.program.houai.po.VipCardOrderPO;
import com.program.houai.vo.SubmitOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version v1.0
 * @ProjectName: EOrder-master
 * @ClassName: IVipCardOrderService
 * @Description: TODO(一句话描述该类的功能)
 * @Author: Topcheer
 * @Date: 2024/8/31 10:04
 */
public interface IVipCardOrderService extends IService<VipCardOrderEntity> {

    public String  saveVipCardOrder(SubmitOrderVO submitOrderVO,int userId);

    public VipCardOrderPO getOrderInfoByNumber(String txnNo);

    IPage<VipCardOrderPO>  getOrderListByUserId(IPage page,int userId,String txnStatus);

    public boolean payBack(String txnNo, PayResult payResult);
}
